/**
 * 
 */
package com.google.code.rookery;

import java.util.ArrayList;
import java.util.List;

import com.google.code.rookery.converter.PhoneConverter;

/**
 * @author Xerox
 *
 */
public class Foo {

  @FactoryProperty(name = "aliases")
  private List<String>  aliases;
  @FactoryProperty(name = "personName")
  private String        name;
  @FactoryProperty(name = "phones", converter = PhoneConverter.class)
  private List<String>  phoneNumbers = new ArrayList<String>();
  private String        street;

  /**
   * @return the aliases
   */
  public List<String> getAliases() {
    return aliases;
  }

  /**
   * @param aliases the aliases to set
   */
  public void setAliases(List<String> aliases) {
    this.aliases = aliases;
  }

  /**
   * @return the name
   */
  public String getName() {
    return name;
  }

  /**
   * @param name the name to set
   */
  public void setName(String name) {
    this.name = name;
  }

  /**
   * @return the phoneNumbers
   */
  public List<String> getPhoneNumbers() {
    return phoneNumbers;
  }

  /**
   * @param phoneNumbers the phoneNumbers to set
   */
  public void setPhoneNumbers(List<String> phoneNumbers) {
    this.phoneNumbers = phoneNumbers;
  }

  /**
   * @return the street
   */
  @FactoryProperty(name = "streetAddress")
  public String getStreet() {
    return street;
  }

  /**
   * @param street the street to set
   */
  public void setStreet(String street) {
    this.street = street;
  }
}
